<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <div onclick="alert('hello js')">这是一个div，点一下有惊喜</div>

    <!-- <script src="app.js"></script> -->
    <script>
        //  //alert("你好")
        //  console.log('hello world')

        //  var a = 10;
        //  console.log(a);
        //  var b = 'hello';
        //  console.log(b);


         function hello(){
            console.log('hello'); 
         }

         hello();
    </script>
       
    
</body>
</html>